using System;
using System.Collections.Generic;
using System.Text;
using PDSClient.Simple.Impl;

namespace PDSClient
{
    public abstract class SessionId
    {
        protected SessionId() { }

        public static SessionId FromBytes(byte[] id) { return new SimpleSessionId(id); }//need fix ?

        public abstract byte[] ToBytes();

        public abstract override bool Equals(object obj);

        public abstract override int GetHashCode();
    }
}
